package za.co.ray.eyewtkah.objects.status;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;

import za.co.ray.eyewtkah.objects.lookup.StatusCode;

@XmlRootElement
public abstract class Status implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = -5715027193888093751L;

    private Decidable decidable;

    private StatusCode statusCode;

    private Reason reason;

    @XmlAnyElement
    public Decidable getDecidable() {
        return decidable;
    }

    public void setDecidable(Decidable decidable) {
        this.decidable = decidable;
    }

    public StatusCode getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(StatusCode statusCode) {
        this.statusCode = statusCode;
    }

    public Reason getReason() {
        return reason;
    }

    public void setReason(Reason reason) {
        this.reason = reason;
    }

}
